package com.ims.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "class_info")
public class ClassInfoEntity {
    @Id
    private Integer id;
    private Character grade;
    private String major;
    private String stu_class;
    private String short_name;
    private String long_name;
    private String class_instructor;
    private Integer class_size;
    private String class_monitor;

    public ClassInfoEntity() {
    }

    public ClassInfoEntity(Integer id, Character grade, String major, String stu_class, String short_name, String long_name, String class_instructor, Integer class_size, String class_monitor) {
        this.id = id;
        this.grade = grade;
        this.major = major;
        this.stu_class = stu_class;
        this.short_name = short_name;
        this.long_name = long_name;
        this.class_instructor = class_instructor;
        this.class_size = class_size;
        this.class_monitor = class_monitor;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Character getGrade() {
        return grade;
    }

    public void setGrade(Character grade) {
        this.grade = grade;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getStu_class() {
        return stu_class;
    }

    public void setStu_class(String stu_class) {
        this.stu_class = stu_class;
    }

    public String getShort_name() {
        return short_name;
    }

    public void setShort_name(String short_name) {
        this.short_name = short_name;
    }

    public String getLong_name() {
        return long_name;
    }

    public void setLong_name(String long_name) {
        this.long_name = long_name;
    }

    public String getClass_instructor() {
        return class_instructor;
    }

    public void setClass_instructor(String class_instructor) {
        this.class_instructor = class_instructor;
    }

    public Integer getClass_size() {
        return class_size;
    }

    public void setClass_size(Integer class_size) {
        this.class_size = class_size;
    }

    public String getClass_monitor() {
        return class_monitor;
    }

    public void setClass_monitor(String class_monitor) {
        this.class_monitor = class_monitor;
    }
}
